package com.study.hot.jetpack.workmanager.work

import android.content.Context
import androidx.work.Worker
import androidx.work.WorkerParameters
import com.blankj.utilcode.util.LogUtils

class MyWork(context: Context, workerParams: WorkerParameters) : Worker(context, workerParams) {
    override fun doWork(): Result {
        LogUtils.i("doFirst")
        Thread.sleep(3000)
        LogUtils.i("doLast")
        return Result.success()
    }
}